package com.tanhua.model.mongo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

//保存结果表
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "resulttable")
public class ResultTable implements Serializable {

    private ObjectId id; //主键
    private ObjectId testSoulId; //试卷id
    private Integer userId;//用户信息表id
    private Integer type; //人物类型
    private  String avatar;//用户头像
    private Integer score; //分数
}
